﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ProjetoWebsite.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>eMart - Login</title>
    <link href="StyleSheet1.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="lblEmail" runat="server" Text="E-Mail: "></asp:Label><asp:TextBox
            ID="txtEmail" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvNome" runat="server" ErrorMessage="Colocar o e-mail é obrigatório!"
            ForeColor="Red" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
            ErrorMessage="E-mail inválido!" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
        <br />
        <asp:Label ID="lblSenha" runat="server" Text="Senha: " />
        <asp:TextBox ID="txtSenha" runat="server" TextMode="password" />
        <asp:RequiredFieldValidator ID="rfvSenha" runat="server" ErrorMessage="Colocar a senha é obrigatório!"
            ForeColor="Red" ControlToValidate="txtSenha" />
        <br />
        <br />
        <asp:Label ID="lblAviso" runat="server" ForeColor="Red" Text="Nome e senha inválidos!"></asp:Label>
        <br />
        <br />
        <asp:Button ID="btnLogIn" runat="server" Text="Log In" OnClick="btnLogIn_Click" />
    </div>
    </form>
</body>
</html>
